/*
 *   Copyright (C) Key Bridge Global LLC and/or its affiliates.
 *
 *   This program is free software: you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.keybridgeglobal.wsif.device;

import com.keybridgeglobal.wsif.enumerated.EnumWsifWsdMode;
import com.keybridgeglobal.wsif.device.Device;
import javax.xml.bind.annotation.*;

/**
 * <p>Java class for txWsd complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained
 * within this class.
 * <p/>
 * <
 * pre>
 * &lt;complexType name="txWsd">
 *   &lt;complexContent>
 *     &lt;extension base="{}device">
 *       &lt;sequence>
 *       &lt;/sequence>
 *       &lt;attribute name="desiredChannels" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="desiredFrequency" type="{http://www.w3.org/2001/XMLSchema}double" />
 *       &lt;attribute name="wsdMode" use="required" type="{}enumWsifWsdMode" />
 *     &lt;/extension>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * <p/>
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "txWsd")
@XmlRootElement
public class TxWsd extends Device {

  @XmlAttribute(name = "desiredChannels")
  protected String desiredChannels;
  @XmlAttribute(name = "desiredFrequency")
  protected Double desiredFrequency;
  @XmlAttribute(name = "wsdMode", required = true)
  protected EnumWsifWsdMode wsdMode;

  /**
   * Gets the value of the desiredChannels property.
   * <p/>
   * @return possible object is {@link String }
   *
   */
  public String getDesiredChannels() {
    return desiredChannels;
  }

  /**
   * Sets the value of the desiredChannels property.
   * <p/>
   * @param value allowed object is {@link String }
   *
   */
  public void setDesiredChannels(String value) {
    this.desiredChannels = value;
  }

  /**
   * Gets the value of the desiredFrequency property.
   * <p/>
   * @return possible object is {@link Double }
   *
   */
  public Double getDesiredFrequency() {
    return desiredFrequency;
  }

  /**
   * Sets the value of the desiredFrequency property.
   * <p/>
   * @param value allowed object is {@link Double }
   *
   */
  public void setDesiredFrequency(Double value) {
    this.desiredFrequency = value;
  }

  /**
   * Gets the value of the wsdMode property.
   * <p/>
   * @return possible object is {@link EnumWsifWsdMode }
   *
   */
  public EnumWsifWsdMode getWsdMode() {
    return wsdMode;
  }

  /**
   * Sets the value of the wsdMode property.
   * <p/>
   * @param value allowed object is {@link EnumWsifWsdMode }
   *
   */
  public void setWsdMode(EnumWsifWsdMode value) {
    this.wsdMode = value;
  }
}
